Count total working time