A record number of firearm licences were revoked in Bedfordshire last year, new figures show.