def _parse_metadata_and_message_count(response):
    '''
    Extracts approximate messages count header.
    '''
    metadata = _parse_metadata(response)
    metadata.approximate_message_count = _to_int(response.headers.get('x-ms-approximate-messages-count'))

    return metadata
def _parse_metadata_and_message_count ( response ) : metadata = _parse_metadata ( response ) metadata . approximate_message_count = _to_int ( response . headers . get ( 'x-ms-approximate-messages-count' ) ) return metadata
Extracts approximate messages count header.