Add the option to get statistics by date.
The option can be accessed from the GUI Client which get the stats from
server.