adds length method and test for WillPaginate#length