DATAES-115 Add count before projection query to retrieve all results.