write a method called positive values which will calculate and return the number of positive numbers in array