Is there a method which can return me the no of listitems in a listview.
No. But you can do the following:
INTEGER iCount = ListCount(Dialog.ListView.GetContents())
Have you ever noticed? Anybody going slower than you is an idiot, and anyone going faster than you is a maniac.
Whoops. Actually GetItemCount() method will work.