The new button 'Count' should just increment the number of a specificfield in a list by 1 Do I need to write a new class library'NewClassLibrary' and add a method 'CounterButton'to be addressed something like this in the render template?

Go4Sharepoint, is a Microsoft Featured Community.
Microsoft, Windows, Sharepoint, Sharepoint logo, Windows logo, etc are trademarks of the Microsoft Corporation.
All product names, logos, copyrights, and trademarks mentioned are acknowledged as the registered intellectual property of their respective owners. This site is not in any way affiliated with, nor has it been authorized, sponsored, or otherwise approved by, Microsoft Corporation.