Which one does Temperature measure

A. how many particles there are.
B. how fast the particles are moving.
C. how tightly packed the particles are.
D. how large the particles are.