Shared counter service using restlet