use this query may be it helps u
select top(3 or n) * ,(select count(*) from table_name) as COUNT from table_name
but remember
TOP
keyword must write first and then other columns separated by comma.
here
COUNT
(alias name) will return total rows in your table
BY BKTHEBEST