Added count_condition to aggrobot