I would like to use vim to do the following operation in vim: I would like to determine the number of entries with avg_deg greater then "'avg_deg': 5.50" from a simple .log file as well as the average of all avg_degs. Afterwards I would like to repeat the same for all entries smaller than "5.00" (the smallest entry in the log is "4.63" and the biggest is at "6.04"). Simply searching and counting the values manually is not possible in realistic time since the file is about 31 MB big.
The file contains many entries with some string in apostrophes with colon following a number but it is necessary to observe only numbers directly following the string "'avg_deg': ".
I would have copied parts of the file as example but even single variables are too big to put them here - at least my browser dies and the website doesn't react anymore when I do so.