Fix rootCount when refresh visual count in View.js