generalize scripts + add count for triaged bugs