I added this line, because the count was not accurate to be exact the browser view. Even though it's still counting portals not shown at th map, but in portal crowded areas much more accurate.