# Collection Length After Filtering

**URL:** <https://community.weweb.io/t/collection-length-after-filtering/3087>\
**Category:** How do I?\
**Created:** [June 16, 2023, 4:49pm UTC](https://community.weweb.io/t/collection-length-after-filtering/3087 "2023-06-16T16:49:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BuildLikePeter](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/buildlikepeter/32/2674_2.png) [@BuildLikePeter](https://community.weweb.io/u/BuildLikePeter)\
**Post date:** [June 16, 2023, 4:49pm UTC](https://community.weweb.io/t/collection-length-after-filtering/3087/1 "2023-06-16T16:49:13Z")

</div>

I have a collection list with pagination. I want to conditionally hide the pagination element when the list is filtered below the page item limit.

I know I can use the length of the collection list to get the full length. Is there an easy formulaic way to quantify the post-filtered length of a collection to use for conditional vidibility?

---

<div class="post-metadata">

**Author:** ![Joyce](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/joyce/32/13232_2.png) [@Joyce](https://community.weweb.io/u/Joyce)\
**Post date:** [June 17, 2023, 8:27am UTC](https://community.weweb.io/t/collection-length-after-filtering/3087/2 "2023-06-17T08:27:35Z")

</div>

Hi @BuildLikePeter, I often find that a little bit tricky.

Can you send us a few screenshots or a short video of your setup so we can think of the best way to do this for your specific use case?

Thanks!  
Joyce
