# Email Count 응답

[`GET /email-count`](/api/finder#email-count)가 `data`에 반환합니다. 집계에는 Tomba가 보유한 해당 도메인의 주소가 포함됩니다. `type=personal` 또는 `type=generic`을 지정하면 `total`과 부서 및 직급별 집계에는 해당 유형만 포함됩니다.

## 필드

| 필드                                                         | 유형    | 설명                                                                                                                          |
| ------------------------------------------------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| `total`                                                       | integer | 요청한 `type`의 주소 수.                                                                                         |
| `personal_emails`                                             | integer | 개인 주소 수.                                                                                                        |
| `generic_emails`                                              | integer | 일반(역할) 주소 수.                                                                                                  |
| `department.<name>`                                           | integer | 부서별 주소 수. 모든 [부서](/attributes/person#departments)가 포함되며, 주소가 없으면 `0`입니다. |
| `seniority.junior`, `seniority.senior`, `seniority.executive` | integer | 직급별 주소 수.                                                                                         |

응답에는 도메인에 대한 Tomba의 내부 ID인 최상위 `website_id`도 있습니다.

알 수 없는 도메인, 웹메일 도메인, 일회용 도메인은 모든 집계에서 `0`을 반환합니다.

## 예시

`GET /email-count?domain=stripe.com`:

```json
{
    "data": {
        "total": 1250,
        "personal_emails": 1100,
        "generic_emails": 150,
        "department": {
            "engineering": 410,
            "finance": 35,
            "hr": 22,
            "it": 18,
            "marketing": 64,
            "operations": 51,
            "management": 88,
            "sales": 120,
            "legal": 12,
            "support": 47,
            "communication": 9,
            "executive": 15,
            "accounting": 6,
            "administrative": 4,
            "diversity": 0,
            "facilities": 2,
            "pr": 5,
            "security": 14,
            "software": 30,
            "warehouse": 0,
            "healthcare": 0,
            "education": 1
        },
        "seniority": {
            "junior": 180,
            "senior": 420,
            "executive": 37
        }
    },
    "website_id": 1024
}
```
