> For the complete documentation index, see [llms.txt](https://docs.ohmyapp.io/main/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ohmyapp.io/main/guide/develop_app/4/block/collection-ref/countbymeta.md).

# countByMeta

&#x20;**countByMeta 블록은 언제 사용하나요?**

* 특정 메타의 데이터를 집계하거나 계산하고 싶을 때 사용해요.

**countByMeta 블록의 특징은 무엇인가요?**

* 계산의 결과를 앱 화면에 나타내기 위해서는 countByMeta 블록에 체인 설정이 반드시 필요해요.
* 계산의 결과를 앱 화면에 나타내기 위해, 주로 [변수텍스트](/main/guide/develop_app/4/block/text/variable-text.md) 블록 또는 [숫자](/main/guide/develop_app/4/block/number_date/numeric.md) 블록에 체인을 설정해 연결해요.&#x20;
* 컬렉션 명 : 데이터를 가져올 특정 메타를 선택해 주세요.
* 가져온 데이터에서 사용할 항목 ID : 데이터에서 계산이 필요한 항목 ID를 선택해 주세요.
* 그룹 : 필요한 데이터를 필터를 사용해 특정 조건에 의해 그룹화할 수 있어요. 그룹 설정을 하지 않을 시, 숫자 항목만 합산할 수 있어요.
* 필터 설정 : 필요한 데이터를 위한 조건을 설정할 수 있어요.&#x20;

<div align="left"><figure><img src="/files/twxH1FuyyYjoC6W0kAyl" alt=""><figcaption></figcaption></figure></div>

**앱 화면 적용 예시**

<div align="left"><figure><img src="/files/xRxrO4flJ3SWRWPdxuV3" alt="" width="284"><figcaption></figcaption></figure></div>

2023.11.24 Jinny
