2270. Number of Ways to Split Array | Prefix Sums