The atoms and molecules in a substance do not always travel at the same speed. This means that there is a range of energy (the energy of motion) among the molecules. In a gas, for example, the molecules are traveling in random directions at a variety of speeds - some are fast and some are slow.
Temperature is a measure of the average heat or thermal energy of the particles in a substance. Since it is an average measurement, it does not depend on the number of particles in an object. In that sense it does not depend on the size of it. For example, the temperature of a small cup of boiling water is the same as the temperature of a large pot of boiling water. Even if the large pot is much bigger than the cup and has millions and millions more water molecules.