Bravo for ditching the pluralize function! But this still concatenates strings to make a phrase, you'll need to use string formatting to make it right.  The span tags add extra complication, if they are needed.