Numpy Count Number Of Columns In Python Class