Text this: DETECTING AND COUNTING SMALL PATTERN GRAPHS.