Revert "fix: poll counts from DB rather than using callbacks from library (#22117)" This reverts commit 29fd981587.
29fd981587