Density of kinks after a sudden quench in the quantum Ising spin chain