19.5.5 counter函数?