Numpy Count Number Of Columns In Matrix Vector