custCount is now dynamic