Count variables with only same lits.