I am struggling to get this to work correctly.
This is the SQL that works:
select name, count(*) pending_assigned_orders from ord_account oa join c