class VulnerabilityRepository implements Constants {

	public int vulnerabilityAssetsCount(String assetGroup, String targetType, Map<String, Object> mustFilter, int from,
			int size, Map<String, Object> mustTermsFilter) throws Exception {
		List<Map<String, Object>> results = new ArrayList<>();
		results = elasticSearchRepository.getSortedDataFromES(assetGroup, targetType, mustFilter, null, null, null,
				mustTermsFilter, null);
		return results.size();
	}

}