Please help with query - left join same table twice different conditions and count

Printable View