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

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

some minor changes