code: def test_facet_total():
      # https://github.com/simonw/datasette/issues/1423
      # https://github.com/simonw/datasette/issues/1556
      with make_app_client(
          settings={"max_returned_rows": 100}
      ) as client:
          path = "/fixtures/sortable?_facet=content&_facet=pk1"
          response = client.get(path)
          assert response.status == 200
      fragments = (
          '<span class="facet-info-total">&gt;30</span>',
          '<span class="facet-info-total">8</span>',
      )
      for fragment in fragments:
          assert fragment in response.text
  
file_path: datasette/tests/test_table_html.py
imports: from datasette.app import Datasette, Database
  from bs4 import BeautifulSoup
  from .fixtures import app_client, make_app_client
  import pathlib
  import pytest
  import urllib.parse
  from .utils import assert_footer_links, inner_html
label_desc: Use image node_id 5 for calling a global function with example usage: test_facet_total() without return types