select  ( select COUNT(*) from tmp  where tmp.f1=v1),
            ( select COUNT(*) from tmp  where tmp.f2=v2),
            ( select COUNT(*) from tmp  where tmp.f3=v3),
            ...            
    
       from    (select  * from table1 where f0 =...) as tmp   
???