I\'m going to add a count query to my working Criteria API implements,
CriteriaBuilder criteriaBuilder = entityManag