revised mode counting