This script works with MM 3.x and is requested in this thread. It is modified version of the Stats.vbs script made by TheRocket which is included with the program. This version has added support for MM filters, skin styles, the progress bar, the Options Sheet with a possibility to toggle display of sections in the report, also corrected many SQL queries and values.
Download:
http://solair.eunet.rs/~zvezdand/StatsFiltered.htm


What is new:
v1.5.1 - 2009-10-09
- Fixed: minimal number of tracks after the program restart.
v1.5 - 2009-07-23
- Added: option to set minimal number of rated/played tracks for Top sections.
v1.4.1 - 2009-06-24
- Fixed: played values for iPods when songs are not played in MM.
v1.4 - 2009-05-13
- Added: support for skin styles with custom configurable .css files;
- Fixed: total number of genres (now calculated only for genres contained in the library).
v1.3.1 - 2009-05-06
- Fixed: error in some situations introduced with the last update.
v1.3 - 2009-05-05
- Added: option to set the number of Top items;
- Fixed: error with filter names which contain "'".
v1.3 - 2009-05-05
- Added: option to set the number of Top items;
- Fixed: error with filter names which contain "'".
v1.2.2 - 2009-04-13
- Fixed: very serious problem with some filters.
v1.2.1 - 2009-04-12
- Fixed: problem with the installation package.
v1.2 - 2009-04-12
- Added: Options Sheet and Options dialog with options for display of sections in the report.
v1.1.2 - 2009-04-11
-Fixed: error with Total for Original Artists.
v1.1.1 - 2009-04-11
-Fixed: error with Tracks per Lyricist and incorrect Total for Original Artists.
v1.1 - 2009-04-11
- Added: some new fields (Conductor, Original Artist) and several new sections (Top 10 Rated Artists, Top 10 Rated Genres, Top 10 * Composers, Top 10 * Lyricists, ...)
- Improved: look of tables.
v1.0 - 2009-04-10
- First public version.
Installation:
Just double click on the StatsFiltered.mmip file; if you are on Vista make sure you have MM3 set to "Run as Administrator"; if you downloaded the installation package with IE and it changed its extension to a .zip, you should first change it back to a .mmip.
Usage:
Choose the File / Create Reports / Statistics (filtered) option; script settings are in the Tools / Options dialog box within Filtered Statistics Report tab.