I want to count the number of times A B C appear, and keep track of the count in the data, what should I do?
[1]: https://i.stack.imgur.com/QTuoT.png![this is the sample