The variable put into the count(…) clause of the generated query is now the original value except we find a DTO project or a count projection in the first place.
The variable put into the count(…) clause of the generated query is now the original value except we find a DTO project or a count projection in the first place.