def getComponentCount(self):
        return len( self._slots.values() )
Gets the number of contained components. Consistent with the
dataset/ETHPy150Open rwl/muntjac/muntjac/ui/custom_layout.py/CustomLayout.getComponentCount