I'm trying to count the number of 7 character words in a file that start with tree and do not end in u or v. I know how to specify the begin with tree and end in u or v condition in cat, but I'm not sure how to identify exactly 7 words or enter the conditions using wc. My pathname is /users/file1.txt.

This is the valid cat command(missing number of 7 character words)

```
  cat /users/file1.txt | grep ^tree.*[!uv]

```

Below is the invalid wc command(missing number of 7 character words)

```
  wc - w /users/file1.txt | grep ^tree.*[!uv]

```