PDOStatmant::fetchColumnを使う
$sql = 'select count(*) from T_test where name = :name';
$stmt = $pdo -> prepare($sql);
$stmt -> execute(array('name' => 'もえの'));
$count = $stmt -> fetchColumn();
//fetchColumn(0)の0を省略
echo $count;
fetchAll()の[0][0]と同じ。