Migrate to S3Represent (Patient)

Yeah I did - the problem with redefining the meaning of a variable.
I don't see a need to do that? Keep count as meaning ;count' & don't reuse as limitby...simply put the result into limitby = (0, count)
This is easier to follow...