I think you have two easy solutions :
1. Use a custom tag ala Freeb in oUF_Freebgrid
2. Use oUF_AuraWatch
Code:
--Shaman
49284, --Earth Shield
61301, --Riptide
52000, --Earthliving
elseif class == 'SHAMAN' then
if i==11 then
icon:SetPoint('BOTTOMRIGHT',0,0)
tex:SetVertexColor(140/255,95/255,75/255)
local count = icon:CreateFontString(nil, 'OVERLAY')
count:SetFont(db.font, db.fontsize-2, 'OUTLINE')
count:SetPoint('CENTER', -6, 1)
icon.count = count
elseif i==12 then
icon:SetPoint('TOPLEFT',0,0)
tex:SetVertexColor(100/255,200/255,200/255)
elseif i==13 then
icon:SetPoint('BOTTOMLEFT',0,0)
tex:SetVertexColor(100/255,200/255,140/255)
end
Just change the i== with the correct number reference and you're done.