Complete method countOdds().
//method countOdds will return the count of all odd nums in list
public int countOdds(ListNode list)
{
///Code here///
}