The Catholic version has 3 which refer to obligations to God and 7 which refer to relations with other people. The prohibition of graven images is included in the first commandment. The commandment against coveting is divided into two: "Thou shalt not covet thy neighbor's wife" and "Thou shalt not covet thy neighbor's goods."
I have read that Martin Luther kept the Catholic counting of the Ten Commandments. I'm not a Lutheran and I don't know if modern-day Lutherans follow his practice or agree with other Protestants.