Reduce complexity, move sprint statistics calculation into a dedicated module