Minor addition

Added line count function
Also moved funcLog into correct position