Add single argument count

Review 569 by @mlucy and @jdoliner
Add indexes_of

Review 580 by @mlucy
Add is_empty

Review 585 by @mlucy