import numpy as np
arr = np.array([1, 0, 5, 6, 0, 2])
number_of_zeros = np.count_nonzero(arr == 0)
print(number_of_zeros)

6c1f9bbe42f4fe57f0aae4a591b4112a9952e304
<mask token>

<mask token>
print(number_of_zeros)

<mask token>
arr = np.array([1, 0, 5, 6, 0, 2])
number_of_zeros = np.count_nonzero(arr == 0)
print(number_of_zeros)

import numpy as np
arr = np.array([1, 0, 5, 6, 0, 2])
number_of_zeros = np.count_nonzero(arr == 0)
print(number_of_zeros)
