Как можно сделать чтобы у меня категории отображались с количеством статей в них, тоесть вот так:
Категория (2)
Категория2 (5)
Категория3 (7)
в скобках указывается сколько статей в категории.
Я в принципе нашёл инструкцию как это сделать, но не понимаю как, всё сжато написано-
1. Create Taxonomy Views.
2. Add relationship to the node (in case if you want to count number of nodes).
3. Enable grouping (Group by)
(or "Use aggregation" toggle in D7, then set the "Aggregation Settings" for each field)
4. In Style Settings/Format set Grouping field to 'Term ID' or 'Node ID' (depends of your query)
5. Add new field 'Node: NID' and set Group type to: Count
It depends what do you need. If you need to count nodes or terms.
See: #1132368: How to display item/node count?
Или возможно какой-то другой путь существует ? У меня Drupal 7