Support and count dynamic references and items