Update itemCount when inserting items