GObject.EnumClass.n_values

EnumClass.n_values: Number(guint) (Read / Write)
  

the number of possible values.