For INSERT, UPDATE and DELETE SQL statements executed directly against the database, most database providers return the count of rows
INSERT
UPDATE
DELETE
For Microsoft SQL Server you can return the @@ROWCOUNT variable to return the number of rows affected by the last statement in the stored procedure.
@@ROWCOUNT