Add another count words related function