Update methods used be Administration

Remove integer cast on array on count methods.
Change returned values in case of Booleans