Implement Target hook to retrieve size of critical section.