Function ListWidget.itemCount

returns number of widgets in list

int itemCount() @property;