This is a counter using an xbl component in xul file