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.
| I/O | Type | Name | Description |
|---|---|---|---|
| output | integer | periods | number of periods |