row_count properly set on INSERT/UPDATES

fixes #364 (though already closed)
local variable row_count also shadowed public member of PDOStatement