You could do a count(*) on a join select.
select count(*) from table1, table2
where table1.referance_id = table2.referance_id
but this will only work if you have a way of linking the two tables. If you only want total rows from each just run a count(*) select on each.