will put some c codes here
n += !a[i]; //kind of tricky way to count the zeroes in the array(for c only)