disable lazy load for details, load and count details from database