Updated createPlan to have interval_count

This will allow the creation of plans with intervals for 2 weeks or 3 months ect...