# Counting line item name

**URL:** <https://community.hubspot.com/t/counting-line-item-name/77898>\
**Category:** APIs & Integrations\
**Tags:** professional\
**Created:** [March 23, 2023, 10:47pm UTC](https://community.hubspot.com/t/counting-line-item-name/77898 "2023-03-23T22:47:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ola2](https://avatars.discourse-cdn.com/v4/letter/o/838e76/32.png) [@Ola2](https://community.hubspot.com/u/Ola2)\
**Post date:** [March 23, 2023, 10:47pm UTC](https://community.hubspot.com/t/counting-line-item-name/77898/1 "2023-03-23T22:47:01Z")

</div>

Hello everyone,

I wanted to see if anyone has any ideas on how to set up a deal based object, and set it to count the name of that line item not the data, so if the deal has, product A, Product A, product B, it would count Product A=2 so then not eligible or eligible for action.

The built-in workflow triggers won’t allow to identify those.

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [March 24, 2023, 7:21pm UTC](https://community.hubspot.com/t/counting-line-item-name/77898/2 "2023-03-24T19:21:56Z")

</div>

Hi, @Ola2 👋 Thanks for reaching out. I’d love to invite some of our community members to the conversation — hey @LMeert @coldrickjack, have you built out a similar solution?

Best,

Jaycee
