Iterative DP function to find the number of times the second string occurs in the first string , whether continuous or discontinuous
function count ( a , b ) { var m = a . length ; var n = b . length ;