Revert "remove double count"

This reverts commit 8b765c76dbe48dd926f0d6ccc95f2e81f5306e1d.