Count refs