code: def dbsize(host=None, port=None, db=None, password=None):
      '''
      Return the number of keys in the selected database
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' redis.dbsize
      '''
      server = _connect(host, port, db, password)
      return server.dbsize(f dbsize(host=None, port=None, db=None, password=None):
      '''
      Return the number of keys in the selected database
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' redis.dbsize
      '''
      server = _connect(host, port, db, password)
      return server.dbsize()
docs: Return the number of keys in the selected database
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' redis.dbsize