What about:

Code:
select a.count, b.count, a.count-b.count diff
from 	(
	select count(*) count from table A
	) a
	(
	select count(*) count from table B
	) b;