select
    DisplayName0,
    Version0,
    Count(*)
From
    dbo.v_Add_Remove_Programs ARP
Where
    DisplayName0 like ‘%office%’
Group by
    DisplayName0,
    Version0
Order by
    DisplayName0,
    Version0