def count_devices(devices):
    """Count numbers of CUDA devices
    Args:
        devices (str): comma split string
    Returns:
        num_gpus (int): numbers of gpus
    """
    num_gpus = len(devices.split(","))
    return num_gpus