• I think @@ROWCOUNT is what you're after.

    http://technet.microsoft.com/en-us/library/ms187316(v=sql.105).aspx

    As in, SET v_count = @@ROWCOUNT.

    Cheers