test total items count