add counts.js file