redis: add slotsnum command to calc slots number