def zero_count(nums):
    if not nums:
        return 0
    zero_ratio = nums.count(0) / len(nums)
    return zero_ratio