According to the meaning of the question: 3 2 (18+1x) =12,
The solution is x=4.8,
It is verified that x=4.8 is the solution of the original equation.
Then it will take 4.8 hours for librarian Xiao Li to count these books alone.