Using the ODataRoute atrribute makes the $count not work.
/// Startup.cs app.UseOData("odata", "odata",