I wanna do a query like raw sql select count(b.status) from a left out join b on a.id = b.user_id group_by(b.status). I know how to get what I wanted using raw sql.
select count(b.status) from a left out join b on a.id = b.user_id group_by(b.status)