returned close action
get total number of items in data structure