scriptable functions for extracting token frequencies for each congress