countSync method

int countSync()

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

int countSync() => filter().countSync();