issue #1163: fullcount was sometimes used for wrong LIMIT node
added derived files