word coutner with multi source paths