gsupplicant: Get the number of scan ssids from supplicant