[BuildQueue] added size and list_tasks methods