Create Pattern

Take a file with a string of base pairs (text) on one line and a short string of base pairs on 2nd line (pattern). Search the text for all cases of the pattern (including partially overlapping ones) and count them.