code: def getOutputElementCount(self, name):
      
      if name in ["activeCells", "learnableCells", "sensoryAssociatedCells"]:
        return self.cellCount * self.moduleCount
      else:
        raise Exception("Invalid output name specified: " + name)
docs: Returns the size of the output array