ContentPersistenceService now contains operation to count number of
records of defined type