# Display the Count of items matched in a 'Relation' list

**URL:** <https://community.glideapps.com/t/display-the-count-of-items-matched-in-a-relation-list/4302>\
**Category:** Ask for Help\
**Created:** [February 5, 2020, 11:10pm UTC](https://community.glideapps.com/t/display-the-count-of-items-matched-in-a-relation-list/4302 "2020-02-05T23:10:35Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [April 12, 2020, 3:06pm UTC](https://community.glideapps.com/t/display-the-count-of-items-matched-in-a-relation-list/4302/10 "2020-04-12T15:06:25Z")

</div>

Here is a response I posted in a different thread:

> [@Change default value of Button to TRUE?](https://community.glideapps.com/t/change-default-value-of-button-to-true/6677/4):
>
> Like @Wiz.Wazeer said, I think you would need to set this with a script in the sheet. Especially if you want it reset every day. An alternative would be to use a form button which would pass along a Column Value of True from another column in the parent record that contains the form button. The True value would be written to the sheet. Then when the user edits the record, the switch would already be set to true. The way Glide is designed, you can’t assign an If Then column to a switch. Unf…

In whatever sheet contains the form button, create a template column and fill the value with ‘true’. In the form, pass that value as a Column value directly to the sheet into your switch column. Later when viewing the complaint, display the switch column as a switch that can then be turned off.

Personally it makes more sense to me to keep the value as false and the set it to true once it’s resolved, but that is only my opinion. I’m sure you have your reasons for making it default to True.

---

_[View the full topic](https://community.glideapps.com/t/display-the-count-of-items-matched-in-a-relation-list/4302)._
