CS dataDefinition: count method added