SELECT COUNT(*) 
  FROM publikacje
 WHERE tytul LIKE '%projekt%' OR tresc LIKE '%projekt%';