re-added Count method