@staticmethod
def count_type_citizens(model, condition, exclude_jailed=True):
    """
        Helper method to count agents by Quiescent/Active.
        """
    count = 0
    for agent in model.schedule.agents:
        if agent.breed == 'cop':
            continue
        if exclude_jailed and agent.jail_sentence:
            continue
        if agent.condition == condition:
            count += 1
    return count
