Performance problem of count?

What do you mean?

it is under ‘performance of captured variable’ in the manual.