Redis: Adds support for checking length of sets, sorted sets and hashes as well.

Also, send 0 as the value in case the type is unsupported or doesn't exist.
Merge pull request #996 from Tenzer/redis-length-types

Redis: Adds support for checking length of more types