I am creating a report. I want to count the nodes of a content type saved for particular entity reference field.
But I am not able find it. Can anyone help me on this please?
Drupal Answers is a question and answer site for Drupal developers and administrators. It only takes a minute to sign up.Sign up to join this community
In Views, under Advanced, Use Aggregation - Yes.
Suppose you have content type A and B. B has entity reference field which refers A. Now you have already created a view for content type A and added its relationship to B.
Now under Fields, Add a new field of the content type B(suppose body), change the label to Count set its aggregation settings to count.