Update rule counting script for bug fixes and new rules.