Help me in solving PSPP119A problem

My issue

Count of occurrence of each element in the array

My code

# Update the code below

A = [1, 2, 3, 1, 2, 4, 1, 3, 5]
A_freq = {}





        
print(A_freq)

Learning course: Python Programming
Problem Link: Coding problem in Python Programming