Hydna, the DEV Blog from 2018 says that ghosts are excluded from total count;
Dominance Calculation:
Dominance is calculated by the total valid city count of one alliance divided by the total valid city count in the valid domination area.
Ghost towns are excluded from the total count...