Add interval_count when creating plans