count method

Future<int> count()

The amount of items in the database

Implementation

Future<int> count() async {
  return (await this.getAll()).length;
}