How we could get the count of system functions based on type?
In system functions we have different type of functions, like "Mathematical", "Aggregate" etc..
In one of the use case I need check the count in an IF condition for specific type.
Example:
- Use Case #1: for aggregate type functions, we should get result 15
- Use Case #2: for mathematical type functions, we should get result 23
I found the quite similar answer here, but couldn't modify accordingly.
Could someone help me out here?
Thanks!!

o.typein the where clause ofAFstands for aggregate function. Try that piece alone and see if it matches the counts you are expecting for your 1st use case.