adding methods to query types for their number of elements, fixing an issue with the ActionPrinter
committing bugfix for self.X resolving
initial import of ooasCompiler