Implemented count and atom line parser