MCP-Counter is a project mainly written in C++ and JAVA, it's free.
A mini counter library for mcp class project.