This loop will never end, because it starts with count = 0, and increases count by one for each iteration. Count will never become less than -1. Go look for a tutorial on for loops.
Actually I don't see why you have the loop at all. Try to remove the line above, and keep the cout line. My guess is that after removing the loop, the program will work. Try entering three numbers, and I think it will response with the average.
I realized that you don't actually have an infinite loop. Instead you have a "loop" that is never executed because of the always false condition. The result is that you never see the "Please enter the measurements" output, but you can probably enter three numbers, and the program will try to calculate the average (and get division by zero).
The conclusion is still the same though: The loop is wrong and it makes no sense to have it there. Remove it, fix the division, and it will probably work.