将以下每组找出现次数最多的单词，并按出现次数从多到少排序。输出应为JSON格式，包括每个组的最多次出现的单词及其出现次数。[['apple', 'banana', 'apple', 'orange', 'banana', 'apple'], ['dog', 'cat', 'mouse', 'dog', 'cat', 'dog']]
user
[
  {
    "word": "apple",
    "count": 3
  },
  {
    "word": "dog",
    "count": 3
  }
]
assistant