title: How to get the number of items / rows / length / count of gtk.ListStore
body: <p>Consider this example:</p>
  
  <pre><code>import pygtk
  pygtk.require('2.0')
  import gtk
  
  initarr = [ "aa", "bb", "xx" ]
  
  liststore1 = gtk.ListStore(str)
  for item in initarr:
    liststore1.append([item])
  
  # one more:
  liststore1.append(["whatever"])
  
  # how to get length/size of liststore1 at this point?
  </code></pre>
  
  <p>As the comment says - how do I get the length / size of <code>liststore1</code> at end of this code?</p>