Minor: formatting and .gitignore
Add `count` parameter to `elements`
Tests for `count` argument in `elements` arbitrary
Distinguish between `count=1` and no `count` at all in `elements`
Documentation for modified `elements`