'Return a dictionary containing the counts of all contents in each state
keyed by the distinct states.
Note: does not include deleted/hidden contents.'

def serialize_contents_states(self, history, key, trans=None, **context):

    return self.manager.contents_manager.state_counts(history)
