Performance problem of count?

What do you mean?

it is under ā€˜performance of captured variable’ in the manual.