Remove extra FROM statement in COUNT query.