num of distinct subsequence