Fixed bug with invalid item count calculation for product attribute count greater than 3.