Volume retrieving in Market Profile indicator?

 
Market Profile indicator is (as if) based on trading volumes. Maybe I am blind, but I cannot see the place in the indicator where it reads volume. As I can imagine volume reading command must be something like CopyRates, CopyTicks, SymbolInfoTick... I cannot see these, can anybody see?
Files:
 
TPOperPrice[(int)(price / onetick)]++;
Because it doesn't use volume. It count's how many bars contained a given price.
Reason: