<human>:  Can you show me a Python program to get number of nonzero values in array.
<bot>:)

# Calling the function
print((get_nonzero_values(array)))

#Example Output
# 10

#Remember to inspect code for bugs.