realtime row-count publishing for postgres