fix renderedItemCount, and add updatedItemCount