Performs repository.count().
repository.count()
Future<int> count({String? userId, Where? where}) => repository.count(userId: userId, where: where);