def count_mag(self, feature_bin):
    'Return the count of a single feature_bin as a proportion of total_count.'
    return self._safe_divide(float(self._counts.get(feature_bin)), float(self.total_count))
Return the count of a single feature_bin as a proportion of total_count.
def count_mag(self, feature_bin):
    
    return self._safe_divide(float(self._counts.get(feature_bin)), float(self.total_count))