You can just return `query.first()` and avoid the additional COUNT