In Canada, hand guns have been tightly controlled for a long time.
But up until 2001, there was no "registration" of long guns (rifles/shotguns) in Canada. You needed to have a Firearms Acquisition Certificate to buy one, which you got after taking a safety course, and passing a criminal screening. But the sale was not registered.
Things changed in 2001 and owners of long guns acquired before then were strongly encouraged to register their guns. Many did not. Hunters and farmers actively resisted the process despite the threat of fines. It was an election issue in the last federal election.
There are of course many illegal handguns in Canada and no way to know how many. We can say for example that the majority of gang related deaths involve handguns, and that almost all of them are committed with guns that either stolen from legal owners, or illegally smuggled from the US. I have heard stats that over 50% of guns used in the commission of crimes have been illegally smuggled from the US.
I do know someone who has a dozen unregistered long guns. Ironically he won a rifle in a raffle, and had to register it.
The Conservative Party, who are currently the Federal government, but who don't have a minority (so they can't pass legislation without cooperation from another party) have vowed to scrap the long gun registry, which has cost a lot of money, and of course only tracks legally owned weapons which are rarely used in crimes. Many police chiefs across the country don't want it scrapped, since they check the registry before heading to domestic disputes etc.