Add rev count back.
Fix build.