Testing postgres compatibility "select 1 from" -> "select count(*) from"