input: Write a python function to find the most frequent element in a list.
  assert most_frequent_element([1, 4, 2, 3, 4, 1, 2, 3, 2, 3]) == {'element': 2, 'count': 3}
  assert most_frequent_element([5, 5, 5, 4, 4, 4, 4, 1, 2, 3]) == {'element': 4, 'count': 4}
  assert most_frequent_element([1, 1, 1, 2, 2, 3, 3, 3, 3]) == {'element': 3, 'count': 4}
output: def most_frequent_element(lst):
      from collections import Counter
      counter = Counter(lst)
      element, count = counter.most_common(1)[0]
      return {'element': element, 'count': count}