Switch .Count() accessors to using RegisterTemplateMapping