move maxcount to match-stream
0.3.5