I previously described a solution here:
Note that this solution is specific to a counter, if you need read/modify/write then change step 2 (getHeader) to retrieve the full record.
I previously described a solution here:
Note that this solution is specific to a counter, if you need read/modify/write then change step 2 (getHeader) to retrieve the full record.