count method Null safety

int count()

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

Implementation

int count() {
  return findAll().length;
}