adding count dictionary
creating date dictionary