Remove unnecessary calls to to()->count() and cc()->count()