Implement count