}
// MESSAGE COUNT
boolean enablePostedMessageCount = "true".equalsIgnoreCase(myProfile.getParameter(ENABLE_POSTED_MESSAGE_COUNT, "false"));
if (enablePostedMessageCount) {
samHelper.addCounterValueProvider("Posted-Message-Count", new CounterValueProvider() {
public long getValue() {
return postedMessageCounter;
}
public boolean isDifferential() {
return false;