How can I get the count of a PyDataSet

Hi,

Looking to get the count of a PyDataSet. Does anyone know how to do this?

Thanks!

Brian

what do you mean by count? number of rows?

table = event.source.parent.getComponent("Table")
data = system.dataset.toPyDataSet(table.data)
print len(data)

Yes - number of rows. Thanks!