For the plural thing you need to use the numericFormat parameter of TypeDisplayRepresentation, and add a .stringsdict file declaring how the plural should look for the entity name. There's an example in the TypeDisplayRepresentation documentation
Topic:
App & System Services
SubTopic:
General
Tags: