select REG.MaximumSize0 as ‘Max Reg Size’, Count(REG.MaximumSize0) as ‘Count’
from dbo.v_GS_REGISTRY REG
Group by REG.MaximumSize0