Refactor test db access in [Model].count, more changing over to ApartmentComplex