Add basic counter inc/val to client

Add support for counter operations.