Q&A for professional and enthusiast programmers
select count(*) from ( select * from (select id, body from posts where lower(body) like '%arxiv%') as p union select * from (select id, text as body from comments where lower(text) like '%arxiv%') as c ) as all_msgs