added try catch around word count where a file is not created
added try catch around word count where a file is not created

sharelatex/clsi-sharelatex,EDP-Sciences/clsi-sharelatex,sharelatex/clsi-sharelatex