support getting different counts in the webservice