Detect whether number of properties is under 1e8 and calculate tokens