count method

Future<int> count()

Count the amount of domains. By default calling the length of findAll().

Implementation

Future<int> count() async {
  return findAll().then((value) => value.length);
}