docs: fix accumulate example

This part of the docs apparently hasn't been updated for the KIE API.