'Returns (container_count, object_count) for an account.
:param account: Account on which to get the information.
:param acceptable_statuses: List of status for valid responses,
defaults to (2, HTTP_NOT_FOUND).
:raises UnexpectedResponse: Exception raised when requests fail
to get a response with an acceptable status
:raises Exception: Exception is raised when code fails in an
unexpected way.'

def get_account_info(self, account, acceptable_statuses=(2, HTTP_NOT_FOUND)):

    path = self.make_path(account)
    resp = self.make_request('HEAD', path, {}, acceptable_statuses)
    if (not ((resp.status_int // 100) == 2)):
        return (0, 0)
    return (int(resp.headers.get('x-account-container-count', 0)), int(resp.headers.get('x-account-object-count', 0)))
