I have a problem with counting zeros between ones in the last column, I have to calculate how many possibilities are there, and the number of occurrences for each one.