Seven friends A, B, C, D, E, F and G, each has a different height. C is taller than D. A is the shortest among all. Only four people are taller than C. E is taller than G but shorter than F. F is not the tallest. The height of how many people is between the heights of B and G?