MY CODE >> Simple Object
integer count;

display(integer i) {
    llSay(0, "Count is: " + (string)i);
}

integer multiply(integer x, integer y) {
    integer result = x * y;
    return result;
}

default
{
    state_entry()
    {
        count = 0;
    }

    touch_start(integer total_number)
    {
        count++;
        display(count);
        integer x = multiply(count,2);
        llSay(0, "Count doubled is: " + (string)x);
    }
}