How to find the number of beans assigned to a Table?

I am using an MTable which receives the data to be displayed using a table.setBeans(); call.
At some other location in the code I need to know the number of elements, i.e. the number of rows contained in the table, but there seems to be no method to get at that number.
Any ideas how to figure that out? Why is this number not available?

You seem to be using Viritin. MTable extends Table, which inturn extends Container. So by inheritance method size() should return number of beans in the container, which should correspond to the number of rows in the table.