set default value of count
Revise tests