Script to find average occurrences of one motif