I have a dataframe column with [1,1,1,1,2,2,1,1,1,2,2,2,2,1...]. I want to count how many times 1 and 2 appear in each alternate instance and append them to a list. So the l