Add $enabled parameter to count
  Add rig info into global infos