Postgresql Count Distinct Subsequences