Remove unnecessary count() calls from _sanitize_globals()

foreach() just won't execute for an empty array,
it does that check internally.
1 file changed