use the same old count interface, do the change internally in stream

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>