Defined getNumItems