Human: Python function to get maximum in counter. Assistant: 
Here is a Python function to get maximum in counter

import time

def get_max(counter):
    """
    Get the maximum value in a counter.
    """
    return max(counter)

# Enter the counter
counter = [1, 2, 3, 4, 5]

# Calling the function
print((get_max(counter)))

#Example Output
# 5

#Remember to inspect code for bugs.