How Many Wives Did King David have?

This guy was a serious women collector. He had three wives before he was king and six wives during his kingship. He had hundreds of concubines on top of that.