totalItemCount fix