Fix the bug of item count in index.html