How can you count the number of times the values change in a column? For example the list of items below should generate 7 changes. Is there a count function to do this?
apple
apple
apple
pear
pear
orange
grape
grape
banana
apple
apple
orange