Add a `getCount` helper
Ensure we only fetch _ids