Watch out though, @@ROWCOUNT is reset by each statement - so checking it with an IF statement resets it. If you want to return the value you need to capture it straight away.
ie.
-- do something
SELECT @rc = @@ROWCOUNT
IF @rc > 0 BEGIN
RETURN @RC
END