Create handler for nodes allocation stats

Unit tests