drs_utils: return number of replicated objects and links in replicate()