Write SQL query to solve given problem: What is the total number of words in page containing pair of word id "100" and "317"?. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT words FROM langs WHERE lid = ( SELECT lid FROM biwords WHERE w1st = 100 AND w2nd = 317 )