‘The king, the census and the cross’ (2 Samuel 24:1-25)

In 2 Samuel 24:1-25, there are some things that need sorting out. Who was it that incited David to go and conduct a census? And why was it that God’s anger burned against Israel because he did? And how was it that the due punishment for David’s sin was averted? And what is there in the text that leads us to the cross of Jesus?