Add check for 'count' in _canPaginate