When converting to pdf using latex (xelatex or lualatex) I found that unlabelled and unreferenced tables were included in the table reference count, so that visible table numbering 'missed' or ...