SELECT CAS.StartupType0,
Count(CAS.StartupType0) AS ‘Count of StartupType0’
FROM  v_GS_AUTOSTART_SOFTWARE CAS
GROUP BY CAS.StartupType0
ORDER BY CAS.StartupType0