They don't count:

If they are liquid (wine!)
If you're having your period.
If, in the instance of cake, pie, etc., you don't cut a whole piece, you just come back for multiple small bites.
If you don't order dessert, you just eat a bite of someone else's.