Given a string s, return the number of distinct non-empty substrings of s.
Input: A quoted string s.
Output: Integer — count of distinct substrings.
Input: "abc"
Output: 6
Explanation: a,b,c,ab,bc,abc.Input: "aaa"
Output: 3
Explanation: a,aa,aaa.Input: "aba"
Output: 5
Explanation: a,b,ab,ba,aba.1<=s.length<=500