We know there are Ten Commandments, because the Bible tells us so in Exodus 34:28, Deuteronomy 10:4, and the following passage:
"He proclaimed to you his covenant, which he commanded you to keep:
the Ten Commandments, which he wrote on two tablets of stone."
Deuteronomy 4:13