Wave: added --macrocounts/-c command line option to wave driver tool allowing to collect macro invocation counts