Create countChar.js