Tell me about your approach to coding practice questions like LeetCode easy or medium.
For this hands-on version, write a function that counts practice questions by difficulty. Return the number labeled easy and medium in a two-element list.
difficulties is a list of lowercase strings. Return [easy_count, medium_count]. Ignore any other labels.
def count_practice_levels(difficulties):