DBProvider.countQuery()method
countQuery(collection: Collection<string, II, TT>, query?: Query<Item<II, TT>>): Promise<number>
Count the items in a collection matching an optional query.
countQuery(collection: Collection<string, II, TT>, query?: Query<Item<II, TT>>): Promise<number>
Count the items in a collection matching an optional query.