Reports Stream API call chains ending with a count() operation, that are optimizable.

The following call chains can be replaced by this inspection:

Note that if the replacement involves a short-circuiting operation like anyMatch(), there could be a visible behavior change, if the intermediate stream operations produce side effects. In general, side effects should be avoided in Stream API calls.