[SOLVED] How to merge these 2 scripts?

tell application "Notes" to set theCount to count of notes of folder "Notes"
if theCount is not 0 then display notification "There are notes to be converted" with title "Apple Notes Checker"

tell application "Reminders"
	set mylist to list "Today"
	tell mylist
		make new reminder at end with properties {name:"Convert NOTES to Obsidian"}
	end tell
end tell

So instead of showing the notification, I want it to run the second script, meaning, if there are 1 or more notes in the Notes app, I want it to create a reminder instead of showing a notification

Solution found

tell application "Notes" to set theCount to count of notes of folder "Notes"
if theCount is not 0 then
	tell application "Reminders"
		set mylist to list "Today"
		tell mylist
			make new reminder at end with properties {name:"Convert NOTES to Obsidian"}
		end tell
	end tell
end if