count and log leak-making function entry points