the interface currently does only require `$db` param as in most NoSQL implementations there is no way to give expresssion to count().