def METHOD_NAME() -> (List[str], List[str]):
    print("Getting duplicates...")
    # counter = Counter(ChunkRegistry.objects.values_list("chunk_path", flat=True).iterator()).most_common()
    counter = Counter(ChunkRegistry.objects.values_list("chunk_path", flat=True)).most_common()
    duplicate_chunks = []
    duplicate_media = []
    for chunk_path, count in counter:
        if count == 1:
            break
        if chunk_path.endswith(".csv"):
            duplicate_chunks.append(chunk_path)
        else:
            duplicate_media.append(chunk_path)
    print(f"Discovered {len(duplicate_media)} duplicate media file(s) and {len(duplicate_chunks)} duplicate chunked file(s).")
    return duplicate_chunks, duplicate_media