You can make output paramaters to your stored procedures.
Check this link:
Returning Data by Using OUTPUT Parameters[
^]
For example:
ALTER PROCEDURE dbo.YourSP
@id_table int,
@count1 OUTPUT,
@count2 OUTPUT
AS
DECLARE @x INT
SET @x = 10;
SET NOCOUNT ON;
SELECT @count1 = COUNT(X.value), @count2 = COUNT(X.value) / @x
FROM tableX as X
WHERE table_id = @id_table;
RETURN
And in C# you can use as the follows:
out parameter modifier (C# Reference)[
^]
I hope I could help you!