fixed error messages in Path
added StringUtils with countOf() method