Counting the number of times mIRC started would just be

Code:
ON *:START:if (!%numtimes) %numtimes = -1 | inc %numtimes


Or, reworded: it would be "the total - 1", as Riamus indicated. No identifier needed here.