The number of quartic $D_4$-fields ordered by conductor