Script that generates statistics for release notes
(cherry picked from commit 48df113999c93fcd3ebd1a13e6f25ea334d26de4)