Setting count better
Merge branch 'master' into gh-pages