select count(*) from ($original_query) t