calculating percent over whole paragraph