Function ListAdapter.itemCount

returns number of widgets in list

abstract int itemCount() @property const;