Count words of a body field using PHP views field
So, after a long research, I stumbled at this issue post. It seems that field data are not present in the result set of Views PHP, so instead of print $row-&gt;bodyI needed to use print $data-&gt;_field_data['nid']['entity']-&gt;body['nl'][0]['value'] to access the data.  This solved my problem.