A list of $7$ real numbers consists of $2$, $3.1$, $5.1$, $8$, and $x\le y\le z$. The range of the list is $6$, and the mean and the median are both positive integers. How many ordered triples $(x,y,z)$ are possible?
The given numbers already span $2$ to $8$, a range of $6$, so $2\le x\le y\le z\le8$.
Take $y=5$, $x\in[3.8,5]$, and $z=11.8-x\in[6.8,8]$. Then the sorted list is $2,3.1,x,5,5.1,z,8$ with median $5$, and the sum is $18.2+5+11.8=35$, mean $5$.
This works for every $x$ in an interval, so there are $\boxed{\text{infinitely many}}$ triples.