get index of key 'c' in dictionary `x`,list(x.keys()).index('c')