'Return the number of WMI Objects in the current sample.'

def __len__(self):

    if self._sampling:
        raise TypeError(u'Sampling    `WMISampler`    object    has    no    len()')
    return len(self._current_sample)
