implemented quota metrics