conditional clicks counter on the log user activity function