Add #count.

It'd be nice if every constructor didn't have to set this up.