def num_row_elements(row):
    try:
        rowset = set(row)
        rowset.discard('')
        return len(rowset)
    except TypeError:
        return 0
Adds the language code prefix to every URL pattern within this
dataset/ETHPy150Open xesscorp/KiPart/kipart/common.py/num_row_elements--crossover with--dataset/ETHPy150Open django/django/django/conf/urls/i18n.py/i18n_patterns