Se hai mysql 4.1 puoi fare come hai detto all'inizio.

UPDATE tabB
set campo = (select count(campo) from tabA)
where id = nn