Migrate to S3Represent (Patient)

count = len(values)
...
count = (0, count)
...
limitby = count