StataMP 15.1 on macOS Sierra

I'd like to display the number of observations in a note with formatting.

Code:
// Displays a formatted number
clear
set obs 1000
count
di %9.0gc `r(N)'

// Won't display a formatted number in notes
note: di %9.0gc `r(N)'
notes