Implements backend for group by date stats

Signed-off-by: Jorge Cuadrado <kuadrosxx@gmail.com>