<aside>

:undated-question-mark_planswer: W H A T D O E S I T D O ?


Both methods are used to calculate the total number of items that are in a specific category. In the first method, we use the name of the pages as a way to categorize them and then list the top 3 categories with highest number of books. In the second method, we use the Category property to classify the books and return the whole list of categories with the number of books each category has.

</aside>

Method 1 : Categorized by Page Name

<aside> <img src="/icons/book-closed_yellow.svg" alt="/icons/book-closed_yellow.svg" width="40px" />

B O O K S


Books 1

</aside>

<aside> <img src="/icons/123_yellow.svg" alt="/icons/123_yellow.svg" width="40px" />

B O O K C O U N T E R


Counter 1

</aside>

<aside> <img src="/icons/heart_yellow.svg" alt="/icons/heart_yellow.svg" width="40px" />

S U P P O R T P L A N S W E R L A B


If you find this helpful and would like to support me for making more content like this, you can do so via my ☕ BuyMeACoffee page:

default-yellow.png

</aside>


Method 2 : Categorized by a Category Property - Example 1

<aside> <img src="/icons/book-closed_yellow.svg" alt="/icons/book-closed_yellow.svg" width="40px" />

B O O K S


Books 2

</aside>

<aside> <img src="/icons/123_yellow.svg" alt="/icons/123_yellow.svg" width="40px" />

B O O K C O U N T E R


Counter 2

</aside>


Method 2 : Categorized by a Category Property - Example 2

<aside> <img src="/icons/tshirt_yellow.svg" alt="/icons/tshirt_yellow.svg" width="40px" />

S T O C K I N F O R M A T I O N


Stock Logs

</aside>

<aside> <img src="/icons/computer_yellow.svg" alt="/icons/computer_yellow.svg" width="40px" />

S T O C K D I S P L A Y


Dashboard

</aside>

<aside> <img src="/icons/info-alternate_yellow.svg" alt="/icons/info-alternate_yellow.svg" width="40px" />

This example is intended for personal/educational use only and may not be copied, shared, or distributed, in whole or in part, for any commercial purposes. All rights reserved by Planswer Lab.

</aside>