The good thing you did is apploed for WP extension, and yes, your exp will count till the date they Emailed you the refusel letter. And you have 90 days to restore your status, so I would suggst to apply after 60-70 days to get a visitor visa, and they wil approve your visa upto 1 year...!! So...