'Return the total number of sample values (or "bins") that
have counts greater than zero.  For the total
number of sample outcomes recorded, use ``FreqDist.N()``.
(FreqDist.B() is the same as len(FreqDist).)
:rtype: int'

def B(self):

    return len(self)
