You can count via ROW_NUMBER() function and only ROW_NUMBER() with value = 1 you need to select.
Your query will look something like:
Select Column1, Column2, Column3
FROM
(
SELECT ROW_NUMBER() over (Partition By Column1, Column3 Order by Column1, Column3) as Rownr, Column1, Column2, Column3
FROM Table1
) as DataSet
where Rownr = 1