Fixed sIPCount var

$sIPCount was string, is now an integer