def lensing_channels(config):
    """
    Returns number of channels associated with a given lensing config string
    :param config: Lensing config string
    :return: int number of channels
    """
    if config == "g":
        return 2
    if config == "k":
        return 1
    if config == "kg":
        return 3
    if config == "":
        return 0
    print("Unknown config in deep_dss.utils.lensing_channels. Please try again.")