code: @Override
  	@GET
  	@Path("/responses/count-by-label")
  	public int countResponsesByLabel(@QueryParam("earliest") String earliest, @QueryParam("label") String label) throws NotAuthorizedException {
  		accessControlUtils.checkAuthorization(Action.EXECUTE_REPORT, requestContext);
  		
  		SearchCriteria criteria = new SearchCriteria().setEarliest(earliest).setDetectionPoint(new DetectionPoint(null, label));
  		
  		return appSensorServer.getResponseStore().findResponses(criteria).size();
  	}
docs: {@inheritDoc}