I would have concatenated all the lists of channels and used a Counter:

```
In [1]: from collections import Counter
In [2]: Counter(['MEG001', 'MEG001', 'MEG002'])
Out[2]: Counter({'MEG001': 2, 'MEG002': 1})
```

then sorted the keys.