Remove unused parameter from count method