import re


def get_blob_retry_times(blob_path: str) -> int:
    """ Get the ingest trial count for a given blob path """
    retry_times = 0
    pattern = r'retry(\d+)'
    match = re.compile(pattern).search(blob_path)
    retry_times = int(match.group(1)) if match else retry_times
    return retry_times