Your accrual of unlawful presence begins on the date of the extension denial. All the time that the extension application was pending you were considered to be in lawful status. You need to make sure to depart the US prior to 180 days to prevent the 3-year unlawful presence bar.
Answered on Jan 25th, 2013 at 3:28 PM