Add getter for number of items in ItemTable; minor changes in online item search