You have to use the raw 366 for that.

raw 366:*: haltdef | echo -tc topic $2 Total: $nick($2,0,a) * Operators: $nick($2,0,o) Voices: $nick($2,0,v)

Greets

EDIT: Btw the channel mode is raw 324.