# Count the domains that have their own DNS zone

This function counts the cPanel account's base domains: the primary
domain, its addon domains and its parked domains.

Note:

The count excludes temporary domains, and matches the number of entries
that the DomainLookup::getbasedomains function returns by default.

Endpoint: GET /DomainLookup/countbasedomains
Version: 11.138.0.10
Security: BasicAuth

## Response 200 fields (application/json):

  - `data` (array)
    A single entry holding the count.

  - `data.count` (integer)
    The number of base domains on the account.
    Example: 3

  - `errors` (array,null)

  - `messages` (array,null)

  - `metadata` (object)

  - `metadata.transformed` (integer)

  - `status` (integer)
    * 1 — Success.
* 0 — Failed. Check the errors field for more details.
    Enum: 0, 1

  - `warnings` (array,null)


