@Override
  public @NotNull @NlsContexts.TabTitle String getName(int count) {
    String name = myName.get();
    String padding = String.valueOf(count <= 0 ? 0 : JBUI.scale(8));
    String fg = toHtmlColor(NamedColorUtil.getInactiveTextColor());
    String number = count <= 0 ? "" : String.valueOf(count);
    @Language("HTML")
    @NonNls String labelWithCounter = """
      <html>
        <body>
          <table cellpadding='0' cellspacing='0'>
            <tr>
              <td><nobr>%s</nobr></td>
              <td width='%s'></td>
              <td><font color='%s'>%s</font></td>
            </tr>
          </table>
        </body>
      </html>
      """;
    return String.format(labelWithCounter, name, padding, fg, number);
  }
@Override
  public @NotNull @NlsContexts.TabTitle String getName(int count)