web service for count records