code: def test_keywords_metrics(mocked_client, gutenberg_spacy_ner):
      results = keywords(name=gutenberg_spacy_ner)
  
      assert results.data == {
          "clock": 46,
          "come": 20,
          "day": 18,
          "even": 18,
          "four": 18,
          "go": 24,
          "little": 26,
          "make": 22,
          "midnight": 24,
          "morning": 20,
          "must": 20,
          "night": 20,
          "now": 26,
          "one": 32,
          "roger": 18,
          "said": 38,
          "take": 18,
          "three": 20,
          "time": 34,
          "two": 18,
      }
  
      assert keywords(name=gutenberg_spacy_ner) == keywords(
          name=gutenberg_spacy_ner, query=""
      )
  
      with pytest.raises(
          AssertionError, match="size must be greater than 0"
      ):
          keywords(name=gutenberg_spacy_ner, size=0)
  
file_path: argilla/tests/integration/metrics/test_common_metrics.py
imports: import argilla
  import argilla
  import argilla.client.singleton
  import pytest
  from argilla.client.api import log
  from argilla.client.models import TextClassificationRecord
  from argilla.metrics.commons import keywords, records_status, text_length
  from tests.integration.utils import delete_ignoring_errors
label_desc: Use image node_id 4 for calling a global function with example usage: test_keywords_metrics(mocked_client, gutenberg_spacy_ner) without return types