DATAJPA-343 - Fixed count query projection for queries with subselects.

Switched from an accidentally greedy quantifier for the query variable pickup with a possessive one.