protected abstract fun search(plant: AssertionPlant<T>, searchCriterion: S): Int
Searches for something matching the given searchCriterion in the given plant's subject and returns the number of occurrences.
plant- The plant or rather its subject in which we shall look for something matching the given searchCriterion.
searchCriterion- The search criterion used to determine whether something matches or not.
The number of times the searchCriterion matched in the plant's subject.