* Add statistics validation * Remove redundant None-check * Move validate_statistics WS API to recorder * Apply suggestion from code review