This is an excerpt from Manning's book Extending jQuery. Login to get full access to this book.
Listing 8.12. Retrieving the current length