Write a function to count how many odd numbers are in a list. .