weightCount and weightContTest