This trick works with all weapons that have multiple-hit combos.
The first attack after you shield is always the first attack in the combo, but if you do it fast enough it increases the combo hit count. Subsequently when you go to make you second attack it'll count as a higher hit in the combo chain.
For instance with DVS if you go
Hit -> Shield -> Hit -> Shield -> Hit -> Hit
The last hit will be the 4th hit in the combo chain.