def get_num_samples(samples_file_path: str) -> int:
    """Return the number of samples.

    :param samples_file_path: file path
    :return: number of samples
    """
    with open(samples_file_path) as file:
        sample_numbers = file.read().replace('\n', '')

    return int(sample_numbers)