If string ' s ▁ char ▁ matches ▁ ▁ with ▁ pattern ' s char then increment count
if ( hash_str [ str . charAt ( j ) . charCodeAt ( 0 ) ] <= hash_pat [ str . charAt ( j ) . charCodeAt ( 0 ) ] ) count ++ ;