Let's make it properly
Exclude some sh**
Added pattern_count algorithm