from typing import Iterable
from typing import Dict


def get_substr_frequency(string: str, substrings: Iterable[str]) -> Dict[str, int]:
    """Get dictionary with frequencies (vals) of substrings (keys) in given string."""
    return {s: string.count(s) for s in substrings}