• NumOnes: the number of 1s in the pattern.