Len trait for collections. You may freely use and modify this code under the
CC0 1.0 Universal License.
To use in your own project, just add the below to your
[dependencies] len-trait = "0.6"
For more formal documentation, you can find the rustdoc here.