fix type definition for COUNT
fix type definition for COUNT

UDF defined an Int return type, but the method actually returned a Long,which resultet in an
type cast error when using e.g. ODER BY on this field.

ksattler/piglet,ksattler/piglet