Miscarriage

Hey. How long do you bleed for after a miscarriage? Do you count it as a period? I was 6 weeks. Will it take long to get pregnant again?