A team of scientists have invented a new technique to determine the dynamics of microscopic interacting particles by using image recognition to count the number of particles in an imaginary box. By changing the size of the observation box, such counting enables the study of the dynamics of the collective system, even for a dense group of particles suspended in a fluid.