Updated the boot network count check

to account for no networks in the api request