def digit_count(num):
 # Convert the number to a string and split it at the decimal point
 num_str = str(num).split(".")
 
 # Initialize variables to keep track of the counts
 even_count = 0
 odd_count = 0
 zero_count = 0
 
 # Iterate through the digits to the left of the decimal point
 for ch in num_str[0]:
 if ch == "0":
 zero_count += 1
 elif int(ch) % 2 == 0:
 even_count += 1
 else:
 odd_count += 1
 
 # Return the counts in the order: even count, odd count, zero count
 return (even_count, odd_count, zero_count)