Match the number of sensors with the java version