Changing r.result.n to r.length

Hi Christian, can you verify I'm right in my thinking that the example code should be r.length rather than r.result.n when asserting the object's length?
Merge pull request #1226 from braz/patch-1

Changing r.result.n to r.length