Write a Python program to remove duplicates from a list and to count the number of vowels in a given string. Preserve the order of each value's first occurrence, and treat a, e, i, o, u, and y as vowels regardless of case. Implement def process_data(items, text):, returning [unique_items, vowel_count].
def process_data(items, text):