Add method to get number of addresses found