Almost 900 people with firearm licenses in Northern Ireland have had guns seized from them.