Archive block for nodes using Views
I think you can use the "Contextual Filter" for this. Choose the "Content: Created date" as the contextual filter. Then in the filter settings, choose "Display a summary" and save the view. Maybe this helps you to start with this.