`rowCount()` doesnt work this way AFAIK, it only works on UPDATE/INSERT/DELETE statements.