Calculate length (number of equivalent words) for APS manuscripts written with LaTeX