>>> count_fragments('gtg', 'gttacgtggatg') 1 >>> count_fragments('gtt', 'gttacgtggatg') 0