check arguments count before sending command to redis server