calcualte the number of wefts (rows) in a pattern
a drawdown or any 2D array
the number of rows of 0 if undefined
calcualte the number of wefts (rows) in a pattern