The list below has 4 list items. NVDA reports 7 list items, because it's counting the whitespace between the <li> elements in the source code when calculating the number of items. This seems to only happen when the list items are styled with display: inline;
Below is the same list, now without any white space between the <li> elements. Eventhough the actual mark up has not changed, NVDA now correctly counts 4 items in the list.
Below is the same list again, but this time the list items are not styled using display:inline;
NVDA should correctly count the actual number of list items, regardless of the white space between them.