fix: avoid duplicate per task function name usage statistics