numpy.generic.size

attribute

generic.size

number of elements in the gentype