Remove unused import
Generalise LengthStreakCalculator to use period
Unify naming