Skip to main content
3 of 3
replaced http://drupal.stackexchange.com/ with https://drupal.stackexchange.com/

You can use the Views module to do this.

  1. Create a new view
  2. Remove sort options, fields and other default settings
  3. Add a field for "Content: Type"
  4. Expand the "advanced" part on the right and set "Use aggregation" to "Yes"
  5. Add yet another field for "Content: Type"
  6. On the second "Content: Type" field, click "Aggregation settings"
  7. Set the aggregation type to "count"
  8. The second "Content: Type" should now look like "COUNT(Content: Type)"

THIS IS NOT MY SOLUTION LOOK HERE: Count of nodes by type

saadlulu
  • 1.8k
  • 1
  • 16
  • 39