Revert "fix types on RPC counter replies"

This reverts commit 12e6de72963dd6eff3da0ed53512c424b6de1824.
This reverts commit 6f291086c0f2bbd259ef2df5b2b312bd43607c30.
This reverts commit c72446d02c79bd0ed25193a540a712084a05de2a.
This reverts commit b33606b4b50441b89d6106f9f7784d6a12a45b6d.