updated substring count to default to Boyer Moore string search