reimplemented rowcount