# Get Count airtable

**URL:** https://community.thunkable.com/t/get-count-airtable/1636195
**Category:** Questions about Thunkable X
**Created:** [November 27, 2021, 5:16am UTC](https://community.thunkable.com/t/get-count-airtable/1636195 "2021-11-27T05:16:19Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![mr.4y41frzx6g](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mr.4y41frzx6g/32/121921_2.png) [@mr.4y41frzx6g](https://community.thunkable.com/u/mr.4y41frzx6g)
#### Post date: [November 27, 2021, 5:16am UTC](https://community.thunkable.com/t/get-count-airtable/1636195/1 "2021-11-27T05:16:19Z")

</div>

![Screenshot(3)](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/5/4515ca58db06c580249bbe7d3111156b213b123e.png)

hello…can u help me…how block to get count offline (3) and online (1)  
thanks

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [November 27, 2021, 6:16am UTC](https://community.thunkable.com/t/get-count-airtable/1636195/2 "2021-11-27T06:16:58Z")

</div>

You can use an Airtable API filter:

> **[How do I sort, filter, or retrieve ordered records in the API?](https://support.airtable.com/hc/en-us/articles/223247187-How-do-I-sort-filter-or-retrieve-ordered-records-in-the-API-)**
>
> To retrieve records in the same order as they appear in a specific table view, you can pass in the "view" parameter in the list records request (see the API docs).
> Additionally, you can filter and ...

I may have an example… let me see…

I used the Airtable encoder for this:

https://codepen.io/airtable/embed/preview/rLKkYB?default-tabs=js%2Cresult&height=300&host=https%3A%2F%2Fcodepen.io&slug-hash=rLKkYB

**Note that this process is pretty advanced!**

It might be easier to just create a new column in Airtable and use an Airtable formula to count rows in each section. And then check that value from Thunkable.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)
#### Post date: [February 25, 2022, 6:17am UTC](https://community.thunkable.com/t/get-count-airtable/1636195/3 "2022-02-25T06:17:52Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
