I'm having trouble drawing the structures for molecules where the number of bonded pair of electrons is not obvious. For example, CO. How do I know that carbon monoxide has 1 bonding pair and then the rest are lone pairs, or 2 bonding pairs and the rest are lone pairs, or 3 bond pairs and..., or 4 bond pairs.

Thanks for your help!