EZP-21035: renamed countInstancesOfContentType() to getContentCount()