// Count the number of motors in a cluster
int count = 1;
for (RocketComponent c = (RocketComponent)mount; c != null; c = c.getParent()) {
// Count the number of motors in a cluster
int count = 1;
for (RocketComponent c = (RocketComponent)mount; c != null; c = c.getParent()) {