ряды mysql Count Rows вернулись

select count(*) from (select * from foo) as x;
Powerful Penguin