QCSC 4 Costly 'select count()', use 'exists()'


  master..sp_autoformat:502
  master..sp_configure:802
  sybsystemprocs..sp_autoformat:502
  sybsystemprocs..sp_config_rep_agent:1104
  sybsystemprocs..sp_configure:802
  sybsystemprocs..sp_depends:422
  sybsystemprocs..sp_downgrade:1589
  sybsystemprocs..sp_downgrade_esd:1110
  sybsystemprocs..sp_drop_resource_limit:209
  sybsystemprocs..sp_dropgroup:214
  sybsystemprocs..sp_fkeys:138
  sybsystemprocs..sp_fkeys:203
  sybsystemprocs..sp_fkeys:246
  sybsystemprocs..sp_fkeys:247
  sybsystemprocs..sp_hadr_admin:554
  sybsystemprocs..sp_ijdbc_fkeys:158
  sybsystemprocs..sp_ijdbc_fkeys:187
  sybsystemprocs..sp_ijdbc_getbestrowidentifier:91
  sybsystemprocs..sp_ijdbc_getcolumnprivileges:131
  sybsystemprocs..sp_ijdbc_getindexinfo:73
  sybsystemprocs..sp_ijdbc_getversioncolumns:71
  sybsystemprocs..sp_ijdbc_primarykey:81
  sybsystemprocs..sp_jdbc_fkeys:154
  sybsystemprocs..sp_jdbc_fkeys:183
  sybsystemprocs..sp_jdbc_getbestrowidentifier:103
  sybsystemprocs..sp_jdbc_getindexinfo:72
  sybsystemprocs..sp_jdbc_getversioncolumns:80
  sybsystemprocs..sp_jdbc_primarykey:81
  sybsystemprocs..sp_logdevice:189
  sybsystemprocs..sp_modify_resource_limit:253
  sybsystemprocs..sp_modify_time_range:535
  sybsystemprocs..sp_monitor_list_montypes:110
  sybsystemprocs..sp_odbc_fkeys:142
  sybsystemprocs..sp_odbc_fkeys:207
  sybsystemprocs..sp_odbc_fkeys:250
  sybsystemprocs..sp_odbc_fkeys:251
  sybsystemprocs..sp_oledb_fkeys:146
  sybsystemprocs..sp_oledb_fkeys:211
  sybsystemprocs..sp_oledb_fkeys:254
  sybsystemprocs..sp_oledb_fkeys:255
  sybsystemprocs..sp_replication_path:517
  sybsystemprocs..sp_replication_path:530
  sybsystemprocs..sp_replication_path:946
  sybsystemprocs..sp_replication_path:990
  sybsystemprocs..sp_replication_path:1023
  sybsystemprocs..sp_spaceused:445
  sybsystemprocs..sp_spaceused:605