Similar Items: Two-variable Logic with Counting and a Linear Order