Symbol switch counting game

Scan a line of shapes and count the times it changes from one shape to the other. An unbroken run adds no switches.

Worked example

▲ ● ● ▲ ● ▲ ● ▲ ▲ ▲

The runs are ▲ | ●● | ▲ | ● | ▲ | ● | ▲▲▲. Each boundary counts once.

Embed this puzzle on a class or club site

Copy this HTML into a page that supports frames. The default set changes daily at midnight UTC.