input: Write a python function to count the number of odd and even numbers in an array.
  assert count_odd_even([8, 5, 6, 3, 9]) == (2, 3)
  assert count_odd_even([1, 2, 3, 4, 5]) == (3, 2)
  assert count_odd_even([10, 20, 30, 40, 50]) == (0, 5)
output: def count_odd_even(arr):
      odd_count = 0
      even_count = 0
      
      for num in arr:
          if num % 2 == 0:
              even_count += 1
          else:
              odd_count += 1
      
      return (odd_count, even_count)