For it:
Lua Script:
local nameSpell = GetSpellInfo(114015);
local name, rank, icon, count, debuffType, duration, expirationTime, unitCaster, isStealable, shouldConsolidate, spellId = UnitBuff("player", nameSpell);
ret = 0;
if count < 5 then ret = 1 end
Return value research: 1
Return value var: ret
in lua code replace "if count < 5 then ret = 1 end" ligne by "count <= 3" for smaller or egal at 3, "count < 2" for smaller at 2, "count > 1" for bigger at 1, ...