adding methods to query types for their number of elements, fixing an issue with the ActionPrinter
initial import of ooasCompiler