add item counts method