losing lots of plug today

I've been losing lots of my plug today. Some bits are a bit brown tinted and others are clear. I'm 39 weeks and 4 days. How soon do you think I'll go in labor? No contractions yet. How long does it take to pass the whole plug?