Update index.js

This API returns not only values ​​that are extremely important, for example, a "print count-only" request. I added the code that fixes it.