Calculate item position correctly based on the item count.
Calculate item position correctly based on the item count.

Change-Id: I422ab5605802218a2c31737c975d56f61a5aa180

JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core