user: Question: Name the total number of democratic votes when the other votes are less than  18 and the percentage of R votes are 52.63% and votes since 1856 less than 38
Columns: ['State', 'Votes', 'Votes since 1856', 'Democratic votes', 'D votes since 1856', '% of D votes', 'D % since 1856', 'Republican votes', '% of R votes', 'R % since 1856', 'Other votes', 'O votes since 1856', '% of O votes', 'O % since 1856']
Types: ['text', 'real', 'real', 'real', 'real', 'text', 'text', 'real', 'text', 'text', 'real', 'real', 'text', 'text']
Sample row: ['Alabama', 47.0, 38.0, 29.0, 22.0, '61.7%', '57.89%', 12.0, '25.53%', '31.58%', 6.0, 4.0, '12.77%', '10.53%']
SQL:

assistant: SELECT SUM("Democratic votes") FROM "Table" WHERE "Other votes" < 18.0 AND "% of R votes" = '52.63%' AND "Votes since 1856" < 38.0;