count method

Future<int> count()

Counts the linked objects in the database.

It does not take the local state into account and can even be used without loading the link.

Implementation

Future<int> count() => filter().count();