implement cpu count function
Parallelize the esprima parsing.