CountBoundedSlices

https://codility.com/demo/results/demoB8KN3T-Y2E/