A record number of puffins have been recorded on Skomer Island despite the birds being at risk of extinction.