I am trying to count the number of images submitted to photo competitions. I am using an array (called $frequencies) to store my values generated from my query. I can create