A cement block is 8"X8"x12".
Therefore you will need 150 blocks per course.
A course is 8" high.
The number of courses you will need is the height of the fence in inches divided by 8.
Therefore...