MemoryTable.countQuery()method

countQuery(query?: Query<Item<I, T>>): number

Count the items in this table matching an optional query.