You mean that you are doing something like:
INSERT tbl (val) VALUES(@@trancount)
Since the INSERT statement defines a transaction even if there is no user transaction, the expected value for @@trancount is 1, but if memory serves you get two for some reason.