Index: formatting.php
===================================================================
--- formatting.php	(revision 6425)
+++ formatting.php	(working copy)
@@ -1,5 +1,41 @@
 <?php
+/**
+ * Functions used for formatting input and output
+ *
+ * @package WordPress
+ */
 
+/**
+ * wp_counted_string() - For formatting plurals in reference to translatable strings.
+ *
+ * If count is '0' then the $zero parameter string will be used. If count is '1' then
+ * the $one parameter string will be used. If the count is more than '1' then the $more
+ * parameter will be used.
+ *
+ * The $more string is expected to have '%' positioned where it is expected to appear in
+ * relation to the string. The '%' will be replaced with the number.
+ *
+ * @since 2.4
+ *
+ * @param int $count The number to test against
+ * @param string $zero The translatable string that would be used for zero amount
+ * @param string $one The translatable string that would be used for one amount
+ * @param string $more The translatable string that would be used for more than one amount
+ * @return string The formatted translated string based off parameters.
+ */
+function wp_counted_string($count, $zero, $one, $more) {
+	$posFormat = ( ('after' == $position) || (1 == $position) ) ? 1 : 0;
+
+	// Converted from comment-template.php lines 168 - 173
+	$str = '';
+	if( $count > 1 )
+		return str_replace('%', $count, $more);
+	else if ( $count == 0 )
+		return $zero;
+	else // Must be 1
+		return $one;
+}
+
 function wptexturize($text) {
 	global $wp_cockneyreplace;
 	$next = true;
