add {Cursor,Document}.count(), deprecate len()

This should be more gentle, with just a recommended deprecation for `len(Cursor)` and not a full break. On merge, I recommend creating issues to remove internal usage of `len()`.