basic stats for operations like min max and count... requires debuging