Change to spaceCount var