Counting service for Google App Engine with REST API