def getOutputElementCount(self, name):
if name == '<STR_LIT>':<EOL><INDENT>return self.maxCategoryCount<EOL><DEDENT>elif name == '<STR_LIT>':<EOL><INDENT>return self.maxCategoryCount<EOL><DEDENT>elif name == '<STR_LIT>':<EOL><INDENT>return self._bestPrototypeIndexCount if self._bestPrototypeIndexCount else <NUM_LIT:0><EOL><DEDENT>else:<EOL><INDENT>raise Exception('<STR_LIT>' + name)<EOL><DEDENT>
Overrides :meth:`nupic.bindings.regions.PyRegion.PyRegion.getOutputElementCount`.