:doc:`Route53 <../../route53>` / Client / get_hosted_zone_count

*********************
get_hosted_zone_count
*********************



.. py:method:: Route53.Client.get_hosted_zone_count()

  

  Retrieves the number of hosted zones that are associated with the current Amazon Web Services account.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHostedZoneCount>`_  


  **Request Syntax**
  ::

    response = client.get_hosted_zone_count()
    
    
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'HostedZoneCount': 123
      }
      
    **Response Structure**

    

    - *(dict) --* 

      A complex type that contains the response to a ``GetHostedZoneCount`` request.

      
      

      - **HostedZoneCount** *(integer) --* 

        The total number of public and private hosted zones that are associated with the current Amazon Web Services account.

        
  
  **Exceptions**
  
  *   :py:class:`Route53.Client.exceptions.InvalidInput`

  