The benefits of counting macros and how to do it