select javdatum, count(*), sum(anyagar) from munkalap group by javdatum;