class UserEstimateDaoESImp extends BaseDaoESImp implements UserEstimateDao {

    @Override
    public long getUserCount(TargetingChannel targetingChannel, List<String> days, double price) throws IOException
    {
        BoolQueryBuilder boolQueryBuilder = createQueryForUserEstimate(days, targetingChannel);
        SearchRequest searchRequest = new SearchRequest(userPredictionsIndex).source(
                new SearchSourceBuilder().query(boolQueryBuilder).size(0));

        ESResponse esResponse = esclient.search(searchRequest);
        return esResponse.getSearchHits().totalHits;
    }

    public  UserEstimateDaoESImp(Properties properties);

}