Update index.html

There is not method called ```getItem()```. Correct name is ```getItemCount()```.