# Group by/ aggregators/ COUNT

**URL:** <https://forums.pega.com/t/group-by-aggregators-count/2169>\
**Category:** General\
**Tags:** pega-marketing-for-financial-services, financial-services, outbound-marketing, decisioning-architect\
**Created:** [February 3, 2022, 4:19pm UTC](https://forums.pega.com/t/group-by-aggregators-count/2169 "2022-02-03T16:19:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SergeyBelVeb](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/sergeybelveb/32/10395_2.png) [@SergeyBelVeb](https://forums.pega.com/u/SergeyBelVeb)\
**Post date:** [February 3, 2022, 4:19pm UTC](https://forums.pega.com/t/group-by-aggregators-count/2169/1 "2022-02-03T16:19:17Z")

</div>

Hello. In Pega Marketing 7.3.1 in stategy component “Group by” I can use “Set _Property_ To _Count_ of” and print the Soure.

But in 8.3. version I can’t do the same because if I choose Count - Soure field will disapier. So tell me please how to COUNT. For example I wanna “Set .pyTempIdentifier To Count of .pyOutcome” to use IH in strategy.

Screenshot 1 - pega marketing 7.3.1.

Screenshot 2 - pega marketing 8.3

 ![1.png](https://pega1.discourse-cdn.com/pega/original/2X/7/713866c8bab42ddf8b28d007338eb380590b4ff5.png)

 ![screen2.png](https://pega1.discourse-cdn.com/pega/original/3X/e/2/e26ce1ecaeaa740a4217e1de3f22c388e33667e3.png)

---

<div class="post-metadata">

**Author:** ![hellc](https://avatars.discourse-cdn.com/v4/letter/h/77aa72/32.png) [@hellc](https://forums.pega.com/u/hellc)\
**Post date:** [February 3, 2022, 5:29pm UTC](https://forums.pega.com/t/group-by-aggregators-count/2169/2 "2022-02-03T17:29:26Z")

</div>

@SergeyBelVeb In the earlier version of the Group By the source was redundant, since the count would be the same regardless of the source property value. So effectively the Count function counts pages not properties.

As such I believe that the source was removed for ease of use.

---

<div class="post-metadata">

**Author:** ![Guru\_Deshkulkarni](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/guru_deshkulkarni/32/10694_2.png) [@Guru\_Deshkulkarni](https://forums.pega.com/u/Guru_Deshkulkarni)\
**Post date:** [February 9, 2022, 10:16am UTC](https://forums.pega.com/t/group-by-aggregators-count/2169/3 "2022-02-09T10:16:30Z")

</div>

@SergeyBelVeb Also, be sure to explore defining Contact Policies and Suppression Rules in the Next-Best-Action Designer. These are backed by pre-shipped Interaction History summaries. Interaction History summaries are much faster and recommended way to access Interaction History than the the old way of manually hand crafting calculations.

You can also create your own IH Summaries.

Here are some useful references:

[Avoiding overexposure of actions](https://academy.pega.com/module/avoiding-overexposure-actions/v1/in/34786/33211)

[Adding more tracking time periods for contact policies](https://docs-previous.pega.com/pega-customer-decision-hub-user-guide/87/adding-more-tracking-time-periods-contact-policies)

[Creating an interaction history summary data set](https://docs-previous.pega.com/decision-management/87/creating-interaction-history-summary-data-set)
