Boh, forse una cosa del genere.

codice:
select 
count(if(pdf = 1,1,null)) as tot_pdf,
count(if(form = 1,1,null)) as tot_form
from traccia
negli if puoi metter anche le condizioni delle date.