add CriteriaResolver to solve the Requested Criteria and support countBy with CriteriaResolver