def get_sample_count(profileDict):
    """
    Gets the number of samples taken from a dictionary representing data from an
    Arm MAP file

    Args:
        profileDict (dict): Dictionary from which to obtain the count of samples

    Returns:
        The number of samples taken (non-negative integer)
    """
    assert isinstance(profileDict, dict)

    return profileDict["samples"]["count"]