Fix list counter bug

It's hard to describe.
Checkout the online demo: http://jsbin.com/eyeyat/3/edit