James Anderson admitted he was relieved to finally reach 300 Test wickets as England fought back in the first Test with New Zealand.