Count of var_detection

Please be patient. This query takes about 10 minutes on the dual Opteron server!!