Add <numeric> header for use of std::accumulate().