Fix the len() method on LinearMap during popping
Merge pull request #4672 from alexcrichton/linearmap-len-fix

Fix the len() method on LinearMap during popping