def calculate_dbot_score(application_data: dict) -> int:
    """Determines app dbot score

    Args:
        application_data: app data

    Returns:
        a number representing the dbot score
    """
    if not application_data:  # no response from Zimperium
        return 0

    classification = application_data.get('classification')
    if not classification:
        return 0
    if classification == 'Legitimate':
        return 1
    return 3