Number of Longest Increasing Subsequence - Dynamic Programming - Leetcode 673 - Python