add {Cursor,Document}.count(), deprecate len()
Merge pull request #10 from lunixbochs/count

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