Count how often each contact channel is available: stack non-NULL email as email and non-NULL phone as phone, then count per channel.
email
phone
channel
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.