get_number_of_tracking_periods

Get the number of tracking periods already added to the P2Tracking object.

A tracking period can be added using the P2Tracking:add_tracking_period function. The tracking period ID starts at zero.

Parameters: 
I/O Type Name Description
output integer periods number of periods
Example: 
function ()
        io.write('\n')
end
Class: 
P2Tracking