created gender counter