sqlite python cursor rowcount