get the right nodes text length