Reports Stream API call chains ending with the count() operation that could be optimized.

The following call chains are 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.

New in 2016.3