add count-idfs.js script