Implemented view of status_count in orders