Is this guy flirting with me?

So I was out with a gang from work and I told a guy in the group how me and my boyf seperated last year and he asked me how many guys I slept with since I broke up with him. The first night I ever met him we were chatting and I didn't see him for awhile and he came up to me and gave me a hug and a kiss on the cheek. He also spilled a lot about himself and told me he has not told many what he told me.. He also stayed by my side nearly all night and one girl thought we were a couple and he thought it was really funny. He also was waving goodbye to me in the halls recently and he stood there waving for ages. He also asked me how many boyfriends i had and i asked him a question and I followed up with him an hour later and he emailed me back saying " I was busy dont be cross... lol". He has also called me lovely and very funny and good looking. What do you think of his behaviour?

Is this guy flirting with me?
Post Opinion