engine.Len returns the number of keys in an env

Docker-DCO-1.1-Signed-off-by: Solomon Hykes <solomon@docker.com> (github: shykes)
Merge pull request #5431 from shykes/engine-len

engine.Len returns the number of keys in an env