[N,NREAL,NIMAG] = nnzendog(P)
P [ plan ] - Simulation plan.N [ numeric ] - Total number of endogenised data points; each shock at each time counts as one data point.
NREAL [ numeric ] - Number of endogenised data points with anticipation mode 1.
NIMAG [ numeric ] - Number of endogenised data points with anticipation mode 1i.