start with counting number of private and public methods in a file