"pulse" is countable. The pulses include peas, beans, and lentils. These are not grains; they are legumes. "bags of pulses" is just as correct as "bags of beans" would be, for example.
"4 tens" and similar expressions are used in mathematics to mean "4 units of ten each", and so on.