Work it through
Count without allocating through the alias
Define static int total=0 and increment it in new(). Construct two Packet#(8) objects and one Packet#(16), then read the counters through class scope and a typedef alias.
The alias creates no object and no third counter; each distinct specialization owns its own static state.

