. added InMemoryDaoHandler.count