ANSI against ISO
Two independent things vary between keyboards from different countries, and confusing them is the single most common source of confusion when testing.
The first is the character layout: which letters are printed on which caps. QWERTY is the English-speaking standard. QWERTZ, used across Germany, Austria and Switzerland, swaps Y and Z and puts the umlauts on the punctuation caps. AZERTY, used in France and Belgium, moves A, Z and M and puts punctuation on the unshifted number row.
The second is the physical shape of the board, and this is where key counts change. ANSI boards, standard in the United States, have a wide flat Enter key on a single row and a full-length left Shift. ISO boards, standard across Europe, have a tall Enter spanning two rows and notched at the bottom left, a shortened left Shift, and an extra key beside that Shift which browsers report as IntlBackslash. That extra key is why a full-size ISO board has 105 keys where an ANSI board has 104.
The two axes are independent in principle but correlated in practice: QWERTZ and AZERTY boards are essentially always ISO. Selecting either in the Key Layout dropdown therefore changes both the legends and the physical shape of the on-screen board, which is what makes the key count and the score match your hardware.
One thing that never changes is the reported key code. Browsers identify keys by physical position on a reference US board, not by the character printed on the cap. Press the key marked Z on a German keyboard and it reports as KeyY, because that position is KeyY on the reference layout. This is deliberate: it is what lets a game bind WASD and have those bindings land under the same four fingers whether the caps read WASD or ZQSD.