Enhanced statistics task