@property
    def rowcount(self):
        if (self._closed or not self._result or "rows" not in self._result):
            return -1
        return self._result.get("rowcount", -1)
When monitored serverset is changed, the callback should be invoked.
dataset/ETHPy150Open crate/crate-python/src/crate/client/cursor.py/Cursor.rowcount--crossover with--dataset/ETHPy150Open pinterest/kingpin/kingpin/tests/kazoo_utils/test_file_watch.py/FileWatchTestCase.test_serverset_change