numpy.record.size

attribute

record.size

The number of elements in the gentype.