show count of refs before listing them