Update Settings.php

Use `empty` instead of `count`