I have been using mt-daapd since I had the slug but I had some problems to make firestats work with it (Unfortunately, it does not have any installation procedure afaik...). If you do not know what firestats is maybe you should refer to this link. It is a very nice statistics utility for your mt-daapd server. Let us start with the guide how to make it work :)
First download the utility from here or here. Unzip the package to a directory under /var/www.
For example: /var/www/firestats
You need some packages to install if you have noe doen so...
apt-get install php5-common
apt-get install php5-sqlite
Almost done. The script is written for unslung I guess so we need to adjust some parameters. You need to change some of the lines in functons.php. I suppose your database is sqlite3 and the database file is "/var/cache/mt-daapd/songs3.db"
Find the line
uncomment it and change to
Also find the lines (total two lines)
$config['FIREFLY']['DSN'] = "sqlite:/opt/var/mt-daapd/songs3.db";
and change to
$config['FIREFLY']['DSN'] = "sqlite:/var/cache/mt-daapd/songs3.db";
The last thing to do, open the php.ini (/etc/php/apache/php.ini) file and add the lines below to the list of extensions.
I guess you are done. Open your webbrowser and check if it works...
(This guide is for firestats ver. 1.28)