Project to count to set maximum in Processing