One note here: if we don't have any records with the specified tag, I believe this reduce will throw an exception. We should either check for the empty reduce, or document the exception in the scaladoc for the method.