arrays intermediate 3: streak counter