Javascript - How to find the most day of the week? : I have an array of date, how do I find the most popular / second / third etc day of the week?
The I have tried the following

	
    moment(@date field).week() 

but how about an array of json dates?

    2018-04-19
    2018-04-19
    2018-04-19
    2018-04-20
    2018-04-24
    2018-05-02
    2018-05-02
    2018-05-02