Does a miscarriage count as a period?

Does anyone know if it counts as a period or if you ovulate after a miscarriage?