Add all the ingredients for the crumb topping to a bowl.
Rub the butter into the other ingredients until it all comes together and starts to form crumbs.
Leave the mixture in the freezer until needed.
Cake
Preheat the oven to 350F and grease and flour an 8 x 8 baking pan. You can also line the baking pan with parchment paper.
Mix together the flour, baking soda, baking powder, and salt in a bowl and set aside.
Beat the butter and sugar together in a mixer until light and fluffy.
Add in the egg and vanilla to the butter and beat until well-combined.
Mix in the sour cream and beat until fully combined and smooth.
Fold in the flour mixture, then stir in the milk. Fold in the blueberries.
Pour the batter into your baking pan and spread evenly to the edges.
Top the batter with the crumbs, spreading them evenly.
Bake until a toothpick comes out with a few crumbs clinging to it. This can take between 40 - 60 mins depending on if you are using fresh or frozen berries. If you are using frozen blueberries, it can sometimes even take up to 65 minutes.
Remove from the oven and allow to cool to room temperature
Glaze
Mix together the ingredients for the glaze. Add more powdered sugar or milk as needed to get the right consistency you want.
Drizzle over the cooled coffee cake.
Notes
Baking time varies widely depending on if you are using fresh or frozen berries. If you are using fresh berries, I recommend checking the cake between 35 - 40 minutes. Using frozen berries thickens and cools the batter so much that it can add a significant amount of time to the total baking time.