select count(*) as count from rss_items where ifnull(rss_items.pubdate, now()) < date_add(now(), INTERVAL 20 HOUR) group by null