bug fix word count, add paralg_contains api in ps.py, tested