Create a program that calculates how many objects in the list object\_list have the same hash value as some other element in the list. The output should be the number of those objects. If there are no matching hash values, the output should be 0.

For example, if object\_list = [1, 397, 27468, -95, 1309, 397, -539874, -240767, -95, 397], the output should be 5.

Keep in mind that not every object in the list may be hashable!

```
# the object_list has already been defined
from collections.abc import Hashable
output = 0
# write your code here
for obj in object_list:
    if isinstance(obj, Hashable) == True:
        hash_value = obj
        if hash_value.__eq__(object_list):
            output += 1

print(output)

```