fix bug in count parsing
test documentation