update to go-restulf conventions + make count a boolean query param