I remember in some story Sherlock Holmes said things like "One individual is hard to predict, but put many together the pattern will appear". Some thing like that. I can not remember the exact wording and which story.

Do some one happen to know this? I appreciate that you can tell me the exact wording and in which story.