CDB-2566 properly visualization counting