add one liner for getting date freq from mongodb for all docs